############################################
# MAKEFILE
# by Roberto Bender <beto.bender@gmail.com>
# Pedal Project
# Emulating a Guitar Pedal
############################################

SOURCE_PATH=source/
SOURCE_ENTITY=main filters nilfilter distortion delay harmonic gain
SOURCES=$(addprefix $(SOURCE_PATH), $(SOURCE_ENTITY))
BINARIES=$(addsuffix .o,$(SOURCES))
OUTPUT=gdsp
CFLAGS=-Iinclude/ -DUSE_SEMAPHORE

$(OUTPUT) : $(BINARIES)
	g++ $(BINARIES) -o $(OUTPUT) -lglut -pthread

$(SOURCES):
	@echo "$@"

clean:
	@rm -rf $(BINARIES)


